<?php include('./templete/public/header.php'); ?>
<title><?php echo $web['site_config']['site_title'].'_'; ?>职位列表</title>
<body style="background: #f4f4f4;">
	<header class="clearfix">
		<a class="fl header_return"><i class="iconzuojiantou1 iconfont">&#xe616;</i>返回</a>
		<a class="header_new">招聘</a>
		<a class="fr header_more"><i class="iconmore iconfont">&#xe637;</i></a>
	</header>
	<div class="collect_container">
		<div class="search_containerbig">
			<div  class="search_container">
				<i class="iconfont icon_search" onclick="search_zw()">&#xe89e;</i>
				<form action="/index/zhiwei/lists" method="post" id="form_search">
				<input type="text" placeholder="请输入关键字" name="name" value="" />
				</form>
			</div>
			<div class="search_container2">
				<select id="city" class="search-site">
					<option>工作地点</option>
					<option value="1">所有地点</option>
					<?php foreach ($city_list as $city): ?>
					<option value="<?php echo $city; ?> "> <?php echo $city; ?> </option>
					<?php endforeach ?>
				</select>
				<div style="height: .3rem;width: 1px;background-color: #CCCCCC;"></div>
				<select id="jobname" class="search-site">
					<option>品牌名称</option>
					<option value="1">所有品牌</option>
					<?php foreach ($name_list as $name): ?>
					<option value="<?php echo $name; ?> "> <?php echo $name; ?> </option>
					<?php endforeach ?>
				</select>
			</div>
		</div>
		<div class="collect_warrper">
			<?php foreach ($list as $key => $v): ?>
			<a href="/index/zhiwei/index?id=<?php echo $v['jobid']; ?>">
				<div class="collect_slide area_bottom pr">
					<div class="collect_slide_top clearfix">
						<span class="fl one-txt-cut rem45"><em class="touxiang" style="width: 1rem;border-radius:0;"><img src="<?php echo $v['logo']; ?>" alt="" style="width: 100%" /></em><?php echo $v['jobname']; ?></span>
						<i class="iconfont eyes fr"><d><?php echo $v['reading']; ?></d></i>
					</div>
					<span class="recruitment_tst"><?php echo $v['cid']; ?></span>
					<div class="collect_slide_bottom">
						<span href="javascript:;"><i class="iconfont icont">&#xe8ad;</i><?php echo $v['city']; ?></span>
						<span href="javascript:;"><i class="iconfont icont">&#xe8a3;</i><?php echo $v['wage']; ?></span>
						<span href="javascript:;"><i class="iconfont icont">&#xe8ac;</i><?php echo $v['update_time']; ?></span>
					</div>
					<!-- <?php if ($v['is_index']==1): ?>
						<i class="hot center-y-top" style="background-image:url(__INDEX__/images/hot.png) ;"></i>
					<?php endif ?> -->
				</div>
			</a>
			<?php endforeach ?>
		</div>		
	</div>
	<hr style="height: 160px;border: none;">
<?php include('./templete/public/footer.php'); ?>
	<div id="zhezhao">
	</div>
	<div class="hint_pop">
		<i class="icopeople"><img src="__INDEX__/images/popup.png"/></i>
		<div class="hint_pop_wapper">
			<p>完整度非100%不能投递</p>
			<a href="#" class="hint_pop_btn">我知道了</a>
			
		</div>
		<i class="iconfont iconout">&#xe63f;</i>
	
	</div>
</body>
	<script>
	function search_zw() {
		document.getElementById('form_search').submit();
	}
	$("select#city").on("change",function(){
		search_job($("option:selected",this).val());
	})
	function search_job(city) {
 		console.log(city);
 		window.location.href = '/index/zhiwei/lists?city='+city;
 	}
 	$("select#jobname").on("change",function(){
		search_jobname($("option:selected",this).val());
	})
	function search_jobname(jobname) {
 		console.log(jobname);
 		window.location.href = '/index/zhiwei/lists?jobname='+jobname;
 	}
	$(".hint_pop").click(function(){
		$("#zhezhao").css({"display":"none"})
		$(this).css({"display":"none"})
	})
</script>
</html>

